package com.stan.script.init;

/**
 * @author Junqiang Zhu
 * @date 2024-05-06 10:55
 */
public class Init {

    private static final String OS = System.getProperty("os.name").toLowerCase();

    public static boolean isWin() {
        return OS.contains("win");
    }

    public static boolean isUnix() {
        return OS.contains("nix") || OS.contains("nux") || OS.contains("aix");
    }

    public static boolean isMac() {
        return OS.contains("mac");
    }

}
